import java.awt.Graphics;

import javax.swing.JFrame;


public class KSC {

	int x1=100, x2=150, x3=200;
	int y1=100, y2=150, y3=100;
	int level=1;
	
	
	public void drawTriangle(JFrame window){
		Graphics g=window.getGraphics();
		g.drawLine(x1,y1,x2,y2);
		g.drawLine(x2,y2,x3,y3);
		g.drawLine(x1, y1, x3, y3);
	
		 System.out.println("drawing");
	}
}
